package org.hcf.api.base;

public enum ErrorCode {
    SUCCESS(0, "请求成功"),
    TOKEN_ERROR(9999, "身份验证失败"),
    PARAM_ERROR(10004, "参数错误"),
    USER_NOT_EXIST(10005, "查询用户不存在"),
    SEND_ERROR(10006, "消息发送失败"),
    MATRIX_GENERATE_FAIL(10007, "二维码生成失败"),
    MATRIX_TIME_OUT(10008, "二维码不存在或已过期"),
    MATRIX_NOT_USE(10009, "二维码还未扫中"),
    MATRIX_IS_USE(10010, "二维码已经被扫过"),
    USER_NOT_LOGIN(10011, "账号不在线，或者已经被登出"),
    SENDER_NOT_EXIST(10012, "发送者账号不存在"),
    RECEIVER_NOT_EXIST(10013, "接收者账号不存在"),
    IS_NOT_FRIEND(10014, "接收者不是你的好友"),
    SENDER_MUST_IS_MATRIX(10015, "发送者未授权"),
    IS_BIND_PLUGIN(10016, "用户已经扫码，请不要重复扫码"),
    CHAT_RELATION_CHECK_ERROR(10017, "会话关系检测失败"),
    DOWNLOAD_ERROR(10018, "下载文件异常"),

    ;


    public int NUM;
    public String DIC;

    ErrorCode(int num, String dic) {
        NUM = num;
        DIC = dic;
    }

}